using System.Collections;
using System.ComponentModel;
using System.Security.Permissions;

namespace ItemTemplateInstaller
{
	[RunInstaller(true)]
	public class VS2015TemplateInstaller : VSTemplateInstallerBase
	{
		[SecurityPermission(SecurityAction.Demand)]
		public override void Install(IDictionary stateSaver)
		{
			InstallInternal(stateSaver);
		}

		[SecurityPermission(SecurityAction.Demand)]
		public override void Rollback(IDictionary stateSaver)
		{
			UninstallInternal(stateSaver);
		}

		[SecurityPermission(SecurityAction.Demand)]
		public override void Uninstall(IDictionary stateSaver)
		{
			UninstallInternal(stateSaver);
		}

		protected override string ProductVersion
		{
			get { return "13.0"; }
		}

		protected override string ProductTitle
		{
			get { return "Visual Studio 2015"; }
		}

		protected override int VSVersionMajor
		{
			get { return 13; }
		}

		protected override string EXEName
		{
			get { return "devenv.exe"; }
		}

		protected override string ProductSetupCode
		{
			get { return "VS2015_Templates"; }
		}

		protected override string ProductRegistryKey
		{
			get { return "VisualStudio"; }
		}
	}
}